import request from '@/utils/request'
export function posAdSearchAll(query){
  return request({
    url: '/posad/posAdSearchAll',
    method: 'get',
    params: query
  })
}
export function posEnabled(query){
  return request({
    url: '/posad/posAdUpdate',
    method: 'post',
    data:query
  })
}

export function posAdUpdate(query){
  return request({
    url: '/posad/posAdUpdate',
    method: 'post',
    data:query
  })
}
export function posAdShopS(query){
  return request({
    url: '/posad/posAdShopS',
    method: 'post',
    data: query
  })
}
export function posAdUpload(query){
  return request({
    url: '/posad/posAdUploader',
    method: 'post',
    data: query
  })
}
export function posAdDeleted(query){
  return request({
    url: '/posad/posAdDeleted',
    method: 'Patch',
    data: query
  })
}
export function posAdImgObjS(query){
  return request({
    url: '/posad/posAdImgObjS',
    method: 'post',
    data: query
  })
}
